package com.tfswue.lh.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "app")
public class MyProperties {

    @Getter
    @Setter
    public static class Credentials {
        private String email;
        private String password;
    }

    private Credentials my1;
    private Credentials my2;
}